org.eclipse.vtp.framework.common.actions
Class BranchAction

java.lang.Object
  extended by org.eclipse.vtp.framework.common.actions.BranchAction
All Implemented Interfaces:
IAction

public class BranchAction
extends java.lang.Object
implements IAction

An action that branches the process flow on certain conditions.

Author:
Lonnie Pryor

Constructor Summary
BranchAction(IActionContext context, IVariableRegistry variableRegistry, IScriptingService scriptingService, BranchConfiguration[] configurations)
          Creates a new BranchAction.
 
Method Summary
 IActionResult execute()
          Executes this action and returns its outcome.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BranchAction

public BranchAction(IActionContext context,
                    IVariableRegistry variableRegistry,
                    IScriptingService scriptingService,
                    BranchConfiguration[] configurations)
Creates a new BranchAction.

Parameters:
context - The context to use.
variableRegistry - The variable registry to use.
scriptingService - The scripting service to use.
configurations - The configurations to use.
Method Detail

execute

public IActionResult execute()
Description copied from interface: IAction
Executes this action and returns its outcome.

Specified by:
execute in interface IAction
Returns:
An object representing the outcome of this action.